package com.meritit.portal.util;

import java.util.UUID;
public class UUIDUtil {
	public static String nextCode() {
		UUID uuid = UUID.randomUUID();
		String uuidStr = uuid.toString().replaceAll("-", "");
		if(uuidStr.length() == 32){
			return uuidStr;
		}else{
			return nextCode();
		}
	}
	
}
